
app.controller('newCtrl',function($scope,$http){
	$http.get('../php/news.php?').success(function(data){
		$scope.nn = data;
	}); 
})
app.filter('ns',function(){
		return function(value){
			var vl = value.substring(0,35);
			return vl+'...';
		}
	})